package com.wyz.tracing.domain.entity.book;

import com.wyz.tracing.domain.entity.image.Image;
import com.wyz.tracing.domain.entity.base.Aggregate;
import lombok.Getter;
import lombok.Setter;

import java.util.List;

/**
 * @author wyz
 * @version 1.0
 * @date 2023/8/14
 */
@Getter
@Setter
public class Book implements Aggregate<BookId> {

    private BookId bookId;

    private String bookName;

    private String bookDesc;

    private Long words;

    private List<Image> images;

    private List<String> contents;

    @Override
    public BookId getId() {
        return this.bookId;
    }
}
